<script src="<?=gurl('js');?>/plugin.js"></script>
<div class="w660">
		<div class="smallCon">
			<h1><span class="left">投票</span><span class="backprev"><a href="javascript:window.history.go(-1);">返回前页</a></span></h1>
			<div class="editOnline">
			<form action="" method="post" enctype="multipart/form-data" onsubmit="return Validator.Validate(this,3);">
				<ul>
					<li><label><em class="cOrange">*</em>主题：</label><span><input class="borderinput" type="text" name="title" id="title" value="<?=$editdata['title'];?>" dataType="Require" msg="请输入标题" class="hotwebName" style="width:500px" /></span></li>
				
					<li><label><em class="cOrange">*</em>方式：</label><span><select name="typeid" id="typeid" dataType="Require" msg="请选择方式">
					  <option value="0" <? if($editdata['typeid'] == "0"):?>selected<? endif;?>>单选</option>
					  <option value="1" <? if($editdata['typeid'] == "1"):?>selected<? endif;?>>多选</option>
					</select></span></li>
					<li><label><em class="cOrange">*</em>选项1：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" value="<?=$editdata['options'][0]['option'];?>" dataType="Require" msg="此选项必填" class="hotwebName" style="width:500px" /></span></li>
					<li><label><em class="cOrange">*</em>选项2：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" value="<?=$editdata['options'][1]['option'];?>" dataType="Require" msg="此选项必填" class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项3：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][2])):?>value="<?=$editdata['options'][2]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项4：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][3])):?>value="<?=$editdata['options'][3]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项5：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][4])):?>value="<?=$editdata['options'][4]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项6：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][5])):?>value="<?=$editdata['options'][5]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项7：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][6])):?>value="<?=$editdata['options'][6]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项8：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][7])):?>value="<?=$editdata['options'][7]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项9：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][8])):?>value="<?=$editdata['options'][8]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
					<li><label>选项10：</label><span><input class="borderinput" type="text" name="option[]" id="option[]" <? if(isset($editdata['options'][9])):?>value="<?=$editdata['options'][9]['option'];?>"<? endif;?> class="hotwebName" style="width:500px" /></span></li>
				</ul>
                <div class="blank8"></div>
                <input type="hidden" name="id" id="id" value="<?=$editdata['id'];?>">
                <p class="t_r" style="padding-right:65px"><input name="dosubmit" id="dosubmit" type="submit" value="发表" class="airIco" /></p>
            </form>
			</div>
		</div>
		
	</div>
		
	<div class="hackbox"></div>
</div>

